package org.gc.webapp.displaytag;

import java.io.IOException;

import javax.servlet.jsp.JspWriter;

import org.displaytag.decorator.TableDecorator;

public class CollapseTableDecorator extends TableDecorator {
    public String startRow()
    {

            JspWriter writer = getPageContext().getOut();
                String name = "sss";
                StringBuffer buffer = new StringBuffer();
                buffer.append("<td><input type=\"text\" name=\"");
                buffer.append("asdf");
                buffer.append("\" value=\"");
                buffer.append(name);
                buffer.append("\"></td>");
                try
                {
                    writer.write(buffer.toString());
                }
                catch (IOException e)
                {
                    // should never happen
                }

        return buffer.toString();

    }

}
